<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ page import="java.util.*" %>
<%@ page import="com.cidp.system.pojo.*" %>
<% 
String contextPath = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+contextPath+"/";
%>

<html>
<head>
<title>系统登陆</title>
<%@ include file="/common/meta.jsp"%> 
<script type="text/javascript" src="<%=contextPath %>/scripts/common-validator.js"></script>
<style type="text/css">
.loginBtn
{
	background-image:url(images/login/btn_login.png);
	BORDER-RIGHT: 0px solid;
	BORDER-TOP: 0px solid;
	BORDER-LEFT: 0px solid;
	BORDER-BOTTOM: 0px solid;
	padding-left: 0px;
	padding-right: 0px;
	margin-left: 0px;
	margin-right: 0px;
	padding-top: 0px;
	width: 73px;
	height: 23px;
}

.loginBtnOver
{
	background-image:url(images/login/btn_login_over.png);
	BORDER-RIGHT: 0px solid;
	BORDER-TOP: 0px solid;
	BORDER-LEFT: 0px solid;
	BORDER-BOTTOM: 0px solid;
	padding-left: 0px;
	padding-right: 0px;
	margin-left: 0px;
	margin-right: 0px;
	padding-top: 0px;
	width: 73px;
	height: 23px;
}

.loginBtnDown
{
	background-image:url(images/login/btn_login_down.png);
	BORDER-RIGHT: 0px solid;
	BORDER-TOP: 0px solid;
	BORDER-LEFT: 0px solid;
	BORDER-BOTTOM: 0px solid;
	padding-left: 0px;
	padding-right: 0px;
	margin-left: 0px;
	margin-right: 0px;
	padding-top: 0px;
	width: 73px;
	height: 23px;
}

.text2
{
    BORDER-RIGHT: 0px;
    PADDING-RIGHT: 0px;
    BORDER-TOP: 2px;
    PADDING-LEFT: 0px;
    FONT-SIZE: 10pt;
    BACKGROUND-IMAGE: none;
    PADDING-BOTTOM: 0px;
    BORDER-LEFT: 0px;
    COLOR: red;
    PADDING-TOP: 2px;
    BORDER-BOTTOM: 0px;
    BACKGROUND-REPEAT: repeat;
    FONT-FAMILY: "宋体";
    BACKGROUND-COLOR: #ffffff
}
</style>
<script>

function validate(){
	if(document.getElementById("user").value==""){
		alert("用户名不能为空");
		return false;
	}
	if(document.getElementById("pass").value==""){
		alert("密码不能为空");
		return false;
	}
	return true;
}
</script>
</head>
<body style="margin:0,0,0,0;overflow:hidden;">
<html:form method="post" action="operator.do?method=login" onsubmit="return validate()">
<table id="loginTable" width="1024" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td height="72">&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#2DAC80" height="14"></td>
  </tr>
  <tr>
    <td valign="top">
		
	</td>
  </tr>
  <tr>
    <td height="3"></td>
  </tr>
  <tr>
    <td height="328" background="images/login/main_bg.png">
		<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
		  <tr>
			<td width="94" rowspan="2">&nbsp;</td>
			<td width="170" height="100">&nbsp;</td>
		    <td width="60" rowspan="2">&nbsp;</td>
		    <td rowspan="2">
			  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="commons/swflash.cab#version=9.0.115.0" width="680" height="320">
                <param name="movie" value="<%=request.getContextPath()%>/images/login/flash1.swf">
                <param name="quality" value="high">
                <param NAME="wmode" VALUE="transparent">
				<embed src="<%=request.getContextPath()%>/images/login/flash1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="150"></embed>
		      </object></td>
		  </tr>
		  <tr>
		    <td valign="top" height="220">
				<table width="100%" border="0" cellspacing="1" cellpadding="0">
				  <tr>
					<td height="30" colspan="2"><img src="images/space.gif" width="60" height="1">
					<input type="text" name="username" id="user" class="text2" size="10" value="admin"/>
						</td>
				  </tr>
				  <tr>
					<td height="43" colspan="2"><img src="images/space.gif" width="60" height="1">					
					<input type="password" id="pass" name="password" class="text2" size="10" />
						</td>
				  </tr>
	
				  <tr> 
					<td height="55">
					<input type="submit" Class="loginBtn" onmouseover="this.className='loginBtnOver'" value="" style="cursor: hand;" onmouseout="this.className='loginBtn'" onmousedown="this.className='loginBtnDown'">
					
					</td>
					
					<td align="right"><img src="<%=request.getContextPath()%>/images/login/btn_reset.png" style="cursor: hand;" onMouseOver="this.src='images/login/btn_reset_over.png';" onMouseOut="this.src='images/login/btn_reset.png';" onMouseDown="this.src='images/login/btn_reset_down.png';" onMouseUp="this.src='images/login/btn_reset_over.png';">
					</td>
				  </tr>
				  <tr> 
					<td height="15"  colspan="2">
						</td>
				  </tr>
				</table>	
				<DIV id="divShow" style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 宋体"></DIV>
			</td>
	      </tr>
		</table>
	</td>
  </tr>
  <tr>
    <td height="3"></td>
  </tr>
  <tr>
    <td height="19" background="images/login/bottom_bg.png">&nbsp;</td>
  </tr>
  <tr>
    <td height="60" align="center" valign=bottom><font color="#555555">Copyright 2007-2008 上海迅扬电子 All rights reserved</font></td>
  </tr>
  <tr>
    
  </tr>
</table>
<div id="loading" style="width:100%; height:100%; background-color:white; text-align:center; display:none">           
    <span style="size:4; color:#FF0000; text-align:center">正在加载数据,请稍等......</span>
</div>
</html:form>
</body>

</html>